package com.ruoyi.project.system.domain;

import com.ruoyi.framework.aspectj.lang.annotation.DataSource;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

public class ResumeFormDto {
    public ResumeFormDto() {
    }

    private MultipartFile pdfFile;
    private PersonInfo personInfo;
    private List<EduExp> eduExp;
    private List<ProjExp> projExp;
    private List<WorkExp> workExp;
    private List<Skills> skills;

    public MultipartFile getPdfFile() {
        return pdfFile;
    }

    public void setPdfFile(MultipartFile pdfFile) {
        this.pdfFile = pdfFile;
    }

    public PersonInfo getPersonInfo() {
        return personInfo;
    }

    public void setPersonInfo(PersonInfo personInfo) {
        this.personInfo = personInfo;
    }

    public List<EduExp> getEduExp() {
        return eduExp;
    }

    public void setEduExp(List<EduExp> eduExp) {
        this.eduExp = eduExp;
    }

    public List<ProjExp> getProjExp() {
        return projExp;
    }

    public void setProjExp(List<ProjExp> projExp) {
        this.projExp = projExp;
    }

    public List<WorkExp> getWorkExp() {
        return workExp;
    }

    public void setWorkExp(List<WorkExp> workExp) {
        this.workExp = workExp;
    }

    public List<Skills> getSkills() {
        return skills;
    }

    public void setSkills(List<Skills> skills) {
        this.skills = skills;
    }
}

class PersonInfo {
    private String name;
    private String age;
    private String sex;

    // Getters and Setters
}

class EduExp {
    private String school;
    private String degree;
    private String major;
    private String research_direction;
    private String mentor;
    private String start_date;
    private String end_date;

}
class ProjExp{
    private String projName;
    private String projDes;
    private String duty;
    private String start_date;
    private String end_date;
}
class WorkExp{
    private String companyName;
    private String position;
    private String description;
    private String start_date;
    private String end_date;
}
class Skills{
    private String skillName;
    private String level;
}
